package com.songlanyun.modules.offlineorder.dao;

import com.songlanyun.modules.offlineorder.dto.OfflineOrderCountVo;
import com.songlanyun.modules.offlineorder.entity.OfflineOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 线下商家上报订单
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2023-02-11 16:57:11
 */
@Mapper
public interface OfflineOrderDao extends BaseMapper<OfflineOrder> {

    OfflineOrderCountVo dateCount(@Param("map") Map<String, Object> params);

    BigDecimal selectCountShopConsumeIntegralAble();
}
